package com.ljkj.common.db.util;

import java.util.Date;

public class RandomCode {
	public static String makeCode() {
		String uuid=java.util.UUID.randomUUID().toString();
		uuid = uuid.replaceAll("-", "");
		return uuid;
	}
	public static Integer makeCodeInteger() {
		Integer uuid=Integer.valueOf((int) new Date().getTime());
		return Math.abs(uuid);
	}
	public static void main(String[] args) {
System.out.println(makeCodeInteger());
	}
}
